import * as ax from './request';

export const url = ax.url + '/op'
// export const url = ax.url

export const getMemberRecordList = (params) => {
    return ax.g(url + '/member/records', params)
}

export const getMemberRecord = (params) => {
    return ax.g(url + '/member/records/' + params.id, params)
}

export const createMemberRecord = (params) => {
    return ax.p(url + '/member/records', params)
}

export const updateMemberRecord = (params) => {
    return ax.u(url + '/member/records/' + params.id, params)
}

export const delMemberRecord = (params) => {
    return ax.d(url + '/member/records/' + params.id, params)
}
